package com.xiaoxin.experience.service.ssh.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author xiaoxin
 */
@Setter
@Getter
public class SSHSessionInfo implements Serializable
{
    private static final long serialVersionUID = -6608652485258438571L;

    private String name;

    private String ip;

    private int port;

    private String username;

    private String password;

    private String restartServerCommand;

    @Override
    public String toString() {
        return "SSHSessionInfo{" +
                "name='" + name + '\'' +
                ", ip='" + ip + '\'' +
                ", port=" + port +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", restartServerCommand='" + restartServerCommand + '\'' +
                '}';
    }
}
